UnPad

Syntax: @UnPad variable

The UnPad command will remove all LEADING and TRAILING spaces from the specified variable. The variable parameter can be a string array or a string variable.

Example:

@UnPad Str[1]